# Contribuitor: sick <sick@rape.lol> 
# Maintainer: sick <sick@rape.lol> 
pkgname=bgs
pkgver=0.8
pkgrel=0
pkgdesc="An extremely fast and small background setter for X"
url="https://github.com/Gottox/bgs"
arch="all"
license="MIT"
depends="imlib2 libx11 libxinerama"
makedepends="imlib2-dev libx11-dev libxinerama-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.zip::https://github.com/Gottox/bgs/archive/v$pkgver.zip"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	make || return 1
}

package() {
	cd "$builddir"
	make PREFIX=/usr DESTDIR="$pkgdir" \
	install || return 1
}

sha512sums="202d4d5502906c5bd465898c1c305f2c8e460615b187bc7bc770ae640390b4cd1b158cd258740e04f0c92441bbd9e68655bcc8bdf93773baa6df20b1c61ba94e  bgs-0.8.zip"
